Search results for "unit testing"
showing 6 items of 6 documents
Wannier90 as a community code: new features and applications
2019
Wannier90 is an open-source computer program for calculating maximally-localised Wannier functions (MLWFs) from a set of Bloch states. It is interfaced to many widely used electronic-structure codes thanks to its independence from the basis sets representing these Bloch states. In the past few years the development of Wannier90 has transitioned to a community-driven model; this has resulted in a number of new developments that have been recently released in Wannier90 v3.0. In this article we describe these new functionalities, that include the implementation of new features for wannierisation and disentanglement (symmetry-adapted Wannier functions, selectively-localised Wannier functions, s…
Teaching Programming to Large Student Groups through Test Driven Development - Comparing Established Methods with Teaching based on Test Driven Devel…
2016
This paper presents an approach for teaching programming in large university classes based on test driven development (TDD) methods. The approach aims at giving the students an industry-like environment already in their education and introduces full automation and feedback programming classes through unit testing. The focus for this paper is to compare the novel approach with existing teaching methods. It does so by comparing introduction to programming classes in two institutions. One university ran a TDD teaching process with fully automated assessments and feedback, while the other ran a more traditional on-line environment with manual assessments and feedback. The TDD approach has clear…
2010
Research has noticed that imparting TDD-like testing to an early computing curriculum is challenging because it increases technical and cognitive load for the students. This paper addresses the challenge with a software-based solution constructed to facilitate the process of writing tests. The solution allows using a compact while efficient syntax for formulating tests, writing tests into JavaDoc comments, thus close to the source code that implements intended functionalities, and automates the generation of actual test code. The constructed solution -- the ComTest tool -- has now been used in four introductory level programming course offerings. The paper presents the tool and concludes wi…
Revisiting rainfall to explore exam questions and performance on CS1
2015
The Rainfall problem comprises small tasks that have been used to investigate student performance in introductory programming. We conducted several kinds of analyses to inform our understandings of student performance in CS1 relating to this problem. We analyzed implementation approaches and program errors, as in related studies, and also explored the role of test writing vis-a-vis the most common student error. Finally, using correlation analyses and manual inspection of the exam answers, we studied how well the Rainfall problem served as an exam question. The students' implementation choices reflected their familiarity with particular loop constructs, while the single most common error co…
CSI with games and an emphasis on TDD and unit testing
2012
Oracle PL/SQL vienībtestēšana
2016
Galvenais darba mērķis ir izpētīt pieejamo informāciju par Oracle PL/SQL vienībtestēšanas rīkiem, tehniskajiem ierobežojumiem, kā arī izstrādāt ieteikumus par to, kā izvēlēties pareizāko vienībtestēšanas rīku atkarībā no situācijas un kāpēc darīt tieši tā. Lai izstrādātu minētos ieteikumus, nepieciešams analizēt pieejamo informāciju un salīdzināt rīku iespējas. Darbā ir detalizēti apskatīti un savā starpā salīdzināti 4 visbiežāk pielietotie Oracle PL/SQL vienībtestēšanas rīki. Darba rezultāts ir izveidoti ieteikumi Oracle PL/SQL vienībtestēšanas rīka vai ietvara izvēlē, ieviešanā un lietošanā atkarībā no dažādiem faktoriem.